import turtle

a = (1, 2, 3, 5, 6)

# 画嘴的外边框
turtle.fillcolor('red')
turtle.begin_fill()
turtle.pensize(5)
turtle.fd(240)
turtle.circle(20, 90)
turtle.fd(100)
turtle.circle(20, 90)
turtle.fd(240)
turtle.circle(20, 90)
turtle.fd(100)
turtle.circle(20, 90)
turtle.end_fill()
# 根据元组画牙齿
for i in range(len(a)):
    turtle.penup()
    turtle.goto((a[i] - 1) * 40, 140)
    turtle.pendown()
    turtle.fillcolor('white')
    turtle.begin_fill()
    turtle.goto((a[i] - 1) * 40 + 20, 105)
    turtle.goto(a[i] * 40, 140)
    turtle.end_fill()

turtle.done()
